//
// Created by tatyx on 2025/8/26.
//

#ifndef GC_30_CYBERGEAR_H
#define GC_30_CYBERGEAR_H

#define Cyber_MasterID            0x00 //主机ID


#include "main.h"
#include "fdcan.h"


typedef struct
{
    float angle;      //(-12.57f~12.57f)rad
    float velocity;   //(-44rad/s~44rad/s)
    float Torque;     //（-17Nm~17Nm）
    float temprrature;//
    float index_value;
    u16 index;
    u8 motorID;
}Cyber_TypeDef;



void Cyber_get_ID(Cyber_TypeDef *motor);



#endif //GC_30_CYBERGEAR_H